package com.ruoyi.gbase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * GBASE数据库表实体类
 * 
 * @author yys
 * @date 2020-11-04
 */
public class GbaseTableInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库名 */
    @Excel(name = "库名")
    private String schemaName;

    /** 表名 */
    @Excel(name = "表名")
    private String tableName;

    /** 原表JOB_name */
    @Excel(name = "字段数量")
    private int colnums;

    public String getSchemaName() {
        return schemaName;
    }

    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getColnums() {
        return colnums;
    }

    public void setColnums(int colnums) {
        this.colnums = colnums;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("schemaName", getSchemaName())
            .append("tableName", getTableName())
            .append("colnums", getColnums())
            .toString();
    }
}
